package com.masterclient.app.modules.category.beans;

import com.eoner.baselibrary.bean.goods.ProductBean;
import com.masterclient.app.modules.search.SearchGoodBean;

import java.io.Serializable;
import java.util.List;

/**
 * @auther hjian
 * @date 2018/11/7.
 */
public class CategoryDetailBean {

    /**
     */

    private String sh_title_name;
    private String sh_banner;
    private String sh_brand_more_product;
    private ShItemsBean sh_items;
    private List<ShTopArrBean> sh_top_arr;

    public String getSh_title_name() {
        return sh_title_name;
    }

    public void setSh_title_name(String sh_title_name) {
        this.sh_title_name = sh_title_name;
    }

    public String getSh_banner() {
        return sh_banner;
    }

    public void setSh_banner(String sh_banner) {
        this.sh_banner = sh_banner;
    }

    public String getSh_brand_more_product() {
        return sh_brand_more_product;
    }

    public void setSh_brand_more_product(String sh_brand_more_product) {
        this.sh_brand_more_product = sh_brand_more_product;
    }

    public ShItemsBean getSh_items() {
        return sh_items;
    }

    public void setSh_items(ShItemsBean sh_items) {
        this.sh_items = sh_items;
    }

    public List<ShTopArrBean> getSh_top_arr() {
        return sh_top_arr;
    }

    public void setSh_top_arr(List<ShTopArrBean> sh_top_arr) {
        this.sh_top_arr = sh_top_arr;
    }

    public static class ShItemsBean {

        private String sh_total;
        private String sh_page_size;
        private String sh_page;
        private List<ProductBean> sh_products;
        private List<ShCategorysBean> sh_brands;
        private List<ShCategorysBean> sh_categorys;
        private List<SearchGoodBean.DataBean.ShAttributesBean> sh_attributes;

        public String getSh_total() {
            return sh_total;
        }

        public void setSh_total(String sh_total) {
            this.sh_total = sh_total;
        }

        public String getSh_page_size() {
            return sh_page_size;
        }

        public void setSh_page_size(String sh_page_size) {
            this.sh_page_size = sh_page_size;
        }

        public String getSh_page() {
            return sh_page;
        }

        public void setSh_page(String sh_page) {
            this.sh_page = sh_page;
        }

        public List<ProductBean> getSh_products() {
            return sh_products;
        }

        public void setSh_products(List<ProductBean> sh_products) {
            this.sh_products = sh_products;
        }

        public List<ShCategorysBean> getSh_brands() {
            return sh_brands;
        }

        public void setSh_brands(List<ShCategorysBean> sh_brands) {
            this.sh_brands = sh_brands;
        }

        public List<ShCategorysBean> getSh_categorys() {
            return sh_categorys;
        }

        public void setSh_categorys(List<ShCategorysBean> sh_categorys) {
            this.sh_categorys = sh_categorys;
        }

        public List<SearchGoodBean.DataBean.ShAttributesBean> getSh_attributes() {
            return sh_attributes;
        }

        public void setSh_attributes(List<SearchGoodBean.DataBean.ShAttributesBean> sh_attributes) {
            this.sh_attributes = sh_attributes;
        }

        public static class ShProductsBean {
            /**
             * sh_id : 28884
             * sh_name : 测试牌：秒杀商品
             * sh_subname : 测试的秒杀商品哈哈哈
             * sh_brand_id : 6
             * sh_seller_id : 6
             * sh_in_stock : 1
             * sh_price : 100
             * sh_vip_price : 100
             * sh_show_price : 80
             * sh_line_price : 159
             * sh_promotion_price : 80
             * sh_promotion_type : 0
             * sh_promotion_start_at : 2018-09-13 14:00:00
             * sh_promotion_end_at : 2019-06-01 00:00:00
             * sh_event_map_id : 271
             * sh_is_promotion : 1
             * sh_partner_commission : 0.00
             * sh_image : https://img-oss.shihanbainian.com//upload_dev/product/b/2/2/b22e8672ac478c62e8c2038b4aebb126.jpg?x-oss-process=image/resize,m_fixed,w_750
             * sh_stock : 1998
             * sh_sold_out : 0
             * sh_is_new : 0
             * sh_label : {}
             * sh_has_video : 0
             * sh_child_ids : ["28885","28886","28887","28888"]
             */

            private String sh_id;
            private String sh_type;
            private String sh_integral_price;
            private String sh_name;
            private String sh_subname;
            private String sh_brand_id;
            private String sh_seller_id;
            private String sh_in_stock;
            private String sh_price;
            private String sh_vip_price;
            private String sh_show_price;
            private String sh_line_price;
            private String sh_promotion_price;
            private String sh_promotion_type;
            private String sh_promotion_start_at;
            private String sh_promotion_end_at;
            private String sh_event_map_id;
            private String sh_is_promotion;
            private String sh_partner_commission;
            private String sh_image;
            private String sh_stock;
            private String sh_sold_out;
            private String sh_is_new;
            private ShLabelBean sh_label;
            private String sh_has_video;
            private List<String> sh_child_ids;

            public String getSh_type() {
                return sh_type;
            }

            public void setSh_type(String sh_type) {
                this.sh_type = sh_type;
            }

            public String getSh_integral_price() {
                return sh_integral_price;
            }

            public void setSh_integral_price(String sh_integral_price) {
                this.sh_integral_price = sh_integral_price;
            }

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_name() {
                return sh_name;
            }

            public void setSh_name(String sh_name) {
                this.sh_name = sh_name;
            }

            public String getSh_subname() {
                return sh_subname;
            }

            public void setSh_subname(String sh_subname) {
                this.sh_subname = sh_subname;
            }

            public String getSh_brand_id() {
                return sh_brand_id;
            }

            public void setSh_brand_id(String sh_brand_id) {
                this.sh_brand_id = sh_brand_id;
            }

            public String getSh_seller_id() {
                return sh_seller_id;
            }

            public void setSh_seller_id(String sh_seller_id) {
                this.sh_seller_id = sh_seller_id;
            }

            public String getSh_in_stock() {
                return sh_in_stock;
            }

            public void setSh_in_stock(String sh_in_stock) {
                this.sh_in_stock = sh_in_stock;
            }

            public String getSh_price() {
                return sh_price;
            }

            public void setSh_price(String sh_price) {
                this.sh_price = sh_price;
            }

            public String getSh_vip_price() {
                return sh_vip_price;
            }

            public void setSh_vip_price(String sh_vip_price) {
                this.sh_vip_price = sh_vip_price;
            }

            public String getSh_show_price() {
                return sh_show_price;
            }

            public void setSh_show_price(String sh_show_price) {
                this.sh_show_price = sh_show_price;
            }

            public String getSh_line_price() {
                return sh_line_price;
            }

            public void setSh_line_price(String sh_line_price) {
                this.sh_line_price = sh_line_price;
            }

            public String getSh_promotion_price() {
                return sh_promotion_price;
            }

            public void setSh_promotion_price(String sh_promotion_price) {
                this.sh_promotion_price = sh_promotion_price;
            }

            public String getSh_promotion_type() {
                return sh_promotion_type;
            }

            public void setSh_promotion_type(String sh_promotion_type) {
                this.sh_promotion_type = sh_promotion_type;
            }

            public String getSh_promotion_start_at() {
                return sh_promotion_start_at;
            }

            public void setSh_promotion_start_at(String sh_promotion_start_at) {
                this.sh_promotion_start_at = sh_promotion_start_at;
            }

            public String getSh_promotion_end_at() {
                return sh_promotion_end_at;
            }

            public void setSh_promotion_end_at(String sh_promotion_end_at) {
                this.sh_promotion_end_at = sh_promotion_end_at;
            }

            public String getSh_event_map_id() {
                return sh_event_map_id;
            }

            public void setSh_event_map_id(String sh_event_map_id) {
                this.sh_event_map_id = sh_event_map_id;
            }

            public String getSh_is_promotion() {
                return sh_is_promotion;
            }

            public void setSh_is_promotion(String sh_is_promotion) {
                this.sh_is_promotion = sh_is_promotion;
            }

            public String getSh_partner_commission() {
                return sh_partner_commission;
            }

            public void setSh_partner_commission(String sh_partner_commission) {
                this.sh_partner_commission = sh_partner_commission;
            }

            public String getSh_image() {
                return sh_image;
            }

            public void setSh_image(String sh_image) {
                this.sh_image = sh_image;
            }

            public String getSh_stock() {
                return sh_stock;
            }

            public void setSh_stock(String sh_stock) {
                this.sh_stock = sh_stock;
            }

            public String getSh_sold_out() {
                return sh_sold_out;
            }

            public void setSh_sold_out(String sh_sold_out) {
                this.sh_sold_out = sh_sold_out;
            }

            public String getSh_is_new() {
                return sh_is_new;
            }

            public void setSh_is_new(String sh_is_new) {
                this.sh_is_new = sh_is_new;
            }

            public ShLabelBean getSh_label() {
                return sh_label;
            }

            public void setSh_label(ShLabelBean sh_label) {
                this.sh_label = sh_label;
            }

            public String getSh_has_video() {
                return sh_has_video;
            }

            public void setSh_has_video(String sh_has_video) {
                this.sh_has_video = sh_has_video;
            }

            public List<String> getSh_child_ids() {
                return sh_child_ids;
            }

            public void setSh_child_ids(List<String> sh_child_ids) {
                this.sh_child_ids = sh_child_ids;
            }

            public static class ShLabelBean {
                /**
                 * sh_icon : http://img1.shihanbainian.com/shihan2/icon/new_product.jpg
                 * sh_icon_width : 92
                 * sh_icon_height : 130
                 * sh_location : left_top
                 */

                private String sh_icon;
                private String sh_icon_width;
                private String sh_icon_height;
                private String sh_location;

                public String getSh_icon() {
                    return sh_icon;
                }

                public void setSh_icon(String sh_icon) {
                    this.sh_icon = sh_icon;
                }

                public String getSh_icon_width() {
                    return sh_icon_width;
                }

                public void setSh_icon_width(String sh_icon_width) {
                    this.sh_icon_width = sh_icon_width;
                }

                public String getSh_icon_height() {
                    return sh_icon_height;
                }

                public void setSh_icon_height(String sh_icon_height) {
                    this.sh_icon_height = sh_icon_height;
                }

                public String getSh_location() {
                    return sh_location;
                }

                public void setSh_location(String sh_location) {
                    this.sh_location = sh_location;
                }
            }
        }

//        public static class ShBrandsBean {
//            /**
//             * sh_id : 6
//             * sh_name : 测试店铺
//             */
//
//            private String sh_id;
//            private String sh_name;
//            private boolean check;
//
//            public String getSh_id() {
//                return sh_id;
//            }
//
//            public void setSh_id(String sh_id) {
//                this.sh_id = sh_id;
//            }
//
//            public String getSh_name() {
//                return sh_name;
//            }
//
//            public void setSh_name(String sh_name) {
//                this.sh_name = sh_name;
//            }
//
//            public boolean isCheck() {
//                return check;
//            }
//
//            public void setCheck(boolean check) {
//                this.check = check;
//            }
//        }

        public static class ShCategorysBean implements Serializable{
            /**
             * sh_cid : 108
             * sh_name : 休闲鞋
             * sh_image :
             */
            private String sh_id;
            private String sh_cid;
            private String sh_name;
            private String sh_image;
            private boolean check;

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_cid() {
                return sh_cid;
            }

            public void setSh_cid(String sh_cid) {
                this.sh_cid = sh_cid;
            }

            public String getSh_name() {
                return sh_name;
            }

            public void setSh_name(String sh_name) {
                this.sh_name = sh_name;
            }

            public String getSh_image() {
                return sh_image;
            }

            public void setSh_image(String sh_image) {
                this.sh_image = sh_image;
            }

            public boolean isCheck() {
                return check;
            }

            public void setCheck(boolean check) {
                this.check = check;
            }
        }

       /* public static class ShAttributesBean implements Serializable {
            *//**
             * sh_attribute_id : 42
             * sh_attribute_name : 风格
             * sh_options : [{"sh_label":"运动休闲","sh_value":"yundongxiuxian"},{"sh_label":"运动","sh_value":"yundong"},{"sh_label":"休闲","sh_value":"xiuxian"},{"sh_label":"商务","sh_value":"shangwu"},{"sh_label":"英伦","sh_value":"yinlun"}]
             *//*

            private String sh_attribute_id;
            private String sh_attribute_name;
            private List<ShOptionsBean> sh_options;

            public String getSh_attribute_id() {
                return sh_attribute_id;
            }

            public void setSh_attribute_id(String sh_attribute_id) {
                this.sh_attribute_id = sh_attribute_id;
            }

            public String getSh_attribute_name() {
                return sh_attribute_name;
            }

            public void setSh_attribute_name(String sh_attribute_name) {
                this.sh_attribute_name = sh_attribute_name;
            }

            public List<ShOptionsBean> getSh_options() {
                return sh_options;
            }

            public void setSh_options(List<ShOptionsBean> sh_options) {
                this.sh_options = sh_options;
            }

            public static class ShOptionsBean implements Serializable{
                *//**
                 * sh_label : 运动休闲
                 * sh_value : yundongxiuxian
                 *//*

                private String sh_label;
                private String sh_value;
                private boolean check;

                public String getSh_label() {
                    return sh_label;
                }

                public void setSh_label(String sh_label) {
                    this.sh_label = sh_label;
                }

                public String getSh_value() {
                    return sh_value;
                }

                public void setSh_value(String sh_value) {
                    this.sh_value = sh_value;
                }

                public boolean isCheck() {
                    return check;
                }

                public void setCheck(boolean check) {
                    this.check = check;
                }
            }
        }*/
    }

    public static class ShTopArrBean {
        /**
         * sh_id : 115
         * sh_name : 测试
         */

        private String sh_id;
        private String sh_name;
        private boolean select;

        public String getSh_id() {
            return sh_id;
        }

        public void setSh_id(String sh_id) {
            this.sh_id = sh_id;
        }

        public String getSh_name() {
            return sh_name;
        }

        public void setSh_name(String sh_name) {
            this.sh_name = sh_name;
        }

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }
    }
}
